html {
    background: rgba(0, 0, 0, 0.01);
}

html,
body {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dialog {
    position: relative;
    width: 80%;
    height: auto;
    background: #ffffff;
    font-size: 12px;
    border-radius: 15px;
    padding: 16px;
    margin: auto;
    animation: fadein 0.5s ease-in-out;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

@media screen and (min-width: 420px) {
    .dialog {
        width: 400px;
    }
}
@keyframes fadein {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.dialog h2 {
    text-align: center;
}
.dialog label {
    display: block;
    width: auto;
    text-align: left;
    margin-right: 16px;
    top: 12px;
    left: 16px;
}
.dialog .line {
    position: relative;
    line-height: 24px;
    padding: 0 16px;
    display: flex;
    padding-top: 12px;
}
.dialog .input-label {
    position: absolute;
    color: #2a2a2a;
    /* display: none; */
    transition: all 0.2s ease-in-out;
    top: 12px;
    z-index: 1;
}
.dialog .line input:not(:placeholder-shown) + .input-label {
    display: block;
    color: #2288ff;
    top: -12px;
}

.dialog input {
    flex-grow: 1;
    height: 24px;
    border: none;
    border-bottom: 1px solid #2288ff !important;
    padding: 0 8px;
    z-index: 2;
}
.dialog input:hover,
.dialog input:focus {
    border: none;

    border: 1px solid #2288ff;
}
.dialog button {
    margin: auto;
    border-radius: 15px;
    background-color: #2288ff;
    border: none;
    padding: 8px;
    font-size: 12px;
    color: #fff;
}
.dialog button.submit {
    width: 80%;
    margin: auto;
}
.dialog button:hover {
    background-color: #2288ff;
    color: #fff;
    /* opacity: 0.8; */
}
.dialog button:active {
    background-color: #2288ff;
    color: #fff;
    opacity: 0.8;
}
.dialog button:focus {
    background-color: #2288ff;
    color: #fff;
}
.dialog button:visited {
    background-color: #2288ff;
    color: #fff;
}
.dialog button:disabled {
    background-color: #2288ff;
    color: #fff;
}
.dialog button:enabled {
    background-color: #2288ff;
    color: #fff;
}
.dialog button:read-only {
    background-color: #2288ff;
    color: #fff;
}
.dialog button:default {
    background-color: #2288ff;
    color: #fff;
}
.child-login-list {
    position: relative;
    overflow: auto;
    max-height: 300px;
    padding-bottom: 32px;
}
.child-login-list .child {
    position: relative;
    display: flex;
}
.child-login-list .child span {
    display: inline-block;
    flex-grow: 1;
}
.dialog a {
    color: #2288ff;
    text-decoration: none;
}
.dialog a:hover {
    color: #2288ff;
    text-decoration: underline;
}
.dialog a:link {
    color: #2288ff;
    text-decoration: none;
}
.dialog h2 {
    text-align: center;
    color: #2288ff;
    position: sticky;
    top: -20px;
}
/* 移除AndroidWebview input的默认黄色的boder */
input:focus {
    outline: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
